<include file="Public:header"/>
<div class="data_list">
	<table>
		<tr>
			<th>服务名称</th>
			<th>类别</th>
			<th>售后</th>
			<th>下单时间</th>
			<th>订单状态</th>
			<neq name="info.status" value="doing-service"><th>审核状态</th></neq>
			<notempty name="info.lawyer_user_id"><th>处理律师</th></notempty>
			<th>订单金额</th>
			<th>实付金额</th>
		</tr>
		<tr>
			<td> {$info['title']} </td>
			<td> {$info['category_name']} </td>
			<td>  </td>
			<td> {$info['datetime']} </td>
			<td> <span style="color: {$info['status_color']}">{$info['user_status_desc']}</span> </td>
			<neq name="info.status" value="doing-service">
				<td> <span style="color: {$info['audit_status_color']}">{$info['order_audit_status_desc']}</span> </td>
			</neq>
			<notempty name="info.lawyer_user_id">
				<td> {$info['lawyer_name']}({$info['lawyer_mobile']}) </td>
			</notempty>
			<td> <span class="price">{$info['order_amount']}</span> </td>
			<td> <span class="price">{$info['payed_amount']}</span> </td>
		</tr>
	</table>
</div>
<form action="" method="post" class="ajax-form">
	<div class="form_data">

		<div class="mod-left">
			<div class="mod_name">
				<span class="name">订单信息</span>
			</div>
			<div class="mod_data">
				<div class="name">订单号</div>
				<div class="input_data">
					{$info['order_sn']}
				</div>
			</div>
			<div class="mod_data">
				<div class="name">付款方式</div>
				<div class="input_data">
					{$info['pay_type_desc']}
				</div>
			</div>
			<div class="mod_data">
				<div class="name">买家</div>
				<div class="input_data">
					{$info['user_name']}
				</div>
			</div>
			<div class="mod_data">
				<div class="name">联系方式</div>
				<div class="input_data">
					{$info['user_mobile']}
				</div>
			</div>
			<div class="mod_data">
				<div class="name">买家需求描述</div>
				<div class="input_data" style="width: 350px;">
					{$info['demand']}
				</div>
			</div>
		</div>

		<div class="mod-right">
			<div class="mod_name">
				<span class="name">客服确认需求</span>
			</div>
			<div class="mod_data">
				<div class="name">确认需求</div>
				<div class="input_data">
					<textarea name="service_confirm_demand" style="width:350px;height: 120px;">{$info['service_confirm_demand']}</textarea>
				</div>
			</div>

			<style type="text/css">
			.upload-box .input_data{
				width: 360px;
			}
			</style>
			{:W('Plugin/upload_file', array('agreement_file_ids', 'file', '合同附件', '', 1, '', 1, '', $info['status'] == 'doing-service'))}

		</div>
	</div>
	<eq name="info.status" value="doing-service">
	<div class="form_data">
		<div class="mod_name">
			<span class="name">选择律师</span>
		</div>
		{:W('Plugin/select_user', array('律师', 'lawyer_user_id', 'lawyer', 0))}
	</div>
	</eq>
	
	<div class="form_data">
		<div class="mod_submit">
			<eq name="info.status" value="doing-service">
			<input type="hidden" name="service_user_id" value="{$info['service_user_id']}" />
			<button type="submit" class="btn btn-save">提交</button>
			</eq>
			<button class="btn btn-back">返回</button>
		</div>
	</div>
</form>
<include file="Public:footer"/>